<?php
namespace Wj\Encipher\Asymmetric;
class Md5 {

    private $binary = false;
    public function __construct(bool $binary = false) {
        if ($binary) {
            $this->binary = true;
        }
    }

    public function encrypt(string $plaintext): string {
        return md5($plaintext, $this->binary);
    }
}
